package com.example.yx.demo26;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.view.freemarker.FreeMarkerConfig;
import org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver;

@Configuration
public class WebConfig {
//    @Bean
//    public FreeMarkerConfig freeMarkerConfig() {}
//
//    @Bean//脱离web环境
//    public FreeMarkerViewResolver viewResolver(FreeMarkerConfig config){}
}
